package LW.org.service;

import LW.org.model.Room;
import LW.org.model.RoomUse;
import com.sun.org.apache.xpath.internal.operations.Bool;

import java.util.List;

public interface roomService {
    public Room find_one(int room_id);
    public List<Room> find_all();
    public Boolean bookRoom(RoomUse newRoom,int roomId);
    public Boolean checkOut(int roomId,Boolean roomFlag);
    public Boolean checkOut(String IDcard,Boolean roomFlag);
    public RoomUse find_bookRoom(int roomId, Boolean roomFlag);
    public List<RoomUse> return_all_roomUse();
}


